package com.zxx.pattern.factoryPattern.factoryDelete.method;

import com.zxx.pattern.factoryPattern.factoryDelete.simple.CheesePizza;
import com.zxx.pattern.factoryPattern.factoryDelete.simple.Pizza;

/**
 * @author zxx on 2020/12/28
 */
public class CheeseFactory2 extends PizzaFactory2 {

    @Override
    protected Pizza createPizza(String type) {
        return new CheesePizza();
    }
}
